package com.zhala.system.domain.vo;

import com.zhala.common.annotation.Excel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 钢板信息
 * 
 * @author ruoyi
 * @date 2024-11-11
 */
@Data
public class SteelPlateAcceptanceReqVO{
    private static final long serialVersionUID = 1L;

    /** 钢板材质 */
    @Excel(name = "钢板材质")
    @NotBlank(message = "钢板材质不能为空")
    private String material;

    /** 钢板批号 */
    @Excel(name = "钢板批号")
    @NotBlank(message = "钢板批号不能为空")
    private String batchNum;

    /** 钢板编号 */
    @Excel(name = "钢板编号")
    @NotBlank(message = "钢板编号不能为空")
    private String serialNum;

    /** 钢板长度 */
    @Excel(name = "钢板长度")
    @NotNull(message = "钢板长度不能为空")
    private Double length;

    /** 钢板宽度 */
    @Excel(name = "钢板宽度")
    @NotNull(message = "钢板宽度不能为空")
    private Double width;

    /** 钢板厚度 */
    @Excel(name = "钢板厚度")
    @NotNull(message = "钢板厚度不能为空")
    private Double thickness;

    /** 探伤结果 */
    @Excel(name = "探伤结果")
    @NotBlank(message = "探伤结果不能为空")
    private String crackDetection;

    /** 取样结果 */
    @Excel(name = "取样结果")
    @NotBlank(message = "取样结果不能为空")
    private String sampling;
}
